package com.woniu.market_stall;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@SpringBootApplication
@MapperScan(value = "com.woniu.market_stall.mapper")
@EnableTransactionManagement
@EnableSwagger2 //启动swagger
public class MarketStallApplication {

    public static void main(String[] args) {
        try{
            SpringApplication.run(MarketStallApplication.class, args);
        }catch (Exception e){
            e.printStackTrace();
        }

    }

}
